package FactoryPattern;

public class Test {
	public static void main(String[] args) {
		new ShapeFactory().getShape("RECTANGLE").draw();
		Shape  shape= (Shape) new ShapeFactory().getClass(Square.class);
		shape.draw();
	}

}
